package com.jyniubi.gmail.pms.controller;

import com.jyniubi.gmail.common.bean.ResponseVo;
import com.jyniubi.gmail.pms.service.OssService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("pms/oss")
public class OssController {
    @Resource
    private OssService ossService;

    @GetMapping("policy")
    public ResponseVo policy(){
        return ossService.policy();
    }
}
